Skip to main content

GetBucketReferer

Description

GetBucketReferer operation is used to view Referer related configurations of Bucket.

Request Method

POST

Request Path

/apsara/route/OneRouter/GetBucketReferer

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
regionIdBODYstringYesNo sample value for this parameter.region id
RefererBODYstringNoNo sample value for this parameter.Specify a Referer access whitelist.
RefererConfigurationBODYcontainerNoNo sample value for this parameter.container for saving Referer configuration content.
RefererListBODYcontainerNoNo sample value for this parameter.Save the container that Referer access to the whitelist.
versionBODYstringNo2016-01-01version of api
AllowEmptyRefererBODYenumeration stringYesNo sample value for this parameter.specifies whether to allow access to requests with empty Referer fields. valid values: true, false default value: true

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}